<script type="text/javascript" >
    stFacebookToolbox.load_tooltip();
    stFacebookToolbox.on_submitform('#settingForm');
    
</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
        <form class="stform" id="settingForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
                <ul>
                    <li>
                        <label><?php _e('Activate Facebook Like Button', $config['plugin_name'])?>:</label>
                        <div>                            
                           <input <?php echo $option['user'] == '1'? 'checked':''?> title="Active facebook like" value="1" class="" name="data[user]" id="user" type="checkbox" tabindex="7" onclick="stFacebookToolboxcustom.setting_display_form('user','setting_display_form_like');"/>
                        </div>
                        <br clear="both" />
                    </li>
					<div id="setting_display_form_like" <?php if($option['user'] != '1'){echo "style='display:none;'";} ?>>
                    <li>
                        <label title="Select facebook method" ><?php _e('Layout Style', $config['plugin_name'])?>:</label>
                        <div>                            
                            <select title="Select facebook method" class="input login_input " id="style" name="data[style]" tabindex="2">
                                <option <?php echo $option['style'] == 'standard'? 'selected':''?> value="standard">Standard</option>
                                <option <?php echo $option['style'] == 'button_count'? 'selected':''?> value="button_count">Button Count</option>
                            </select>
                        </div>
                        <br clear="both" />
                    </li>

                    <li>
                        <label><?php _e('Show faces', $config['plugin_name'])?>:</label>
                        <div>
                            <input <?php echo $option['faces'] == 'true'? 'checked':''?> title="Yes" value="true" class="" name="data[faces]" id="faces" type="radio" tabindex="5" />
                            <label><?php _e('Yes', $config['plugin_name'])?></label>
                            <input <?php echo $option['faces'] == 'false'? 'checked':''?> title="No" value="false" class="" name="data[faces]" id="faces" type="radio" tabindex="6" />
                            <label><?php _e('No', $config['plugin_name'])?></label>
                        </div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Width', $config['plugin_name'])?>:</label>
                        <div>
                            <input title="Width" value="<?php echo $option['width'] ?>" class="" name="data[width]" id="width" type="text" tabindex="4" style="width:100px;" />
                        </div>
                        <br clear="both" />
                    </li>

                    <li>
                        <label><?php _e('Height', $config['plugin_name'])?>:</label>
                        <div>
                            <input title="height" value="<?php echo $option['height'] ?>" class="" name="data[height]" id="height" type="text" tabindex="4" style="width:100px;" />
                        </div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Detecting method', $config['plugin_name'])?>:</label>
                        <div>
                        	<select title="Select facebook method" class="input login_input " id="mode" name="data[mode]" tabindex="2">
                                <option <?php echo $option['mode'] == 'url'? 'selected':''?> value="url">URL</option>
                                <option <?php echo $option['mode'] == 'var'? 'selected':''?> value="var">Wordpress variable</option>
                            </select>  
						</div>
                        <br clear="both" />
                    </li>
                     <li>
                        <label><?php _e('Verb to display', $config['plugin_name'])?>:</label>
                        <div>
                        	<select title="Select facebook method" class="input login_input " id="verb" name="data[verb]" tabindex="2">
                                <option <?php echo $option['verb'] == 'like'? 'selected':''?> value="like">Like</option>
                                <option <?php echo $option['verb'] == 'recommend'? 'selected':''?> value="recommend">Recommend</option>
                            </select>  
						</div>
                        <br clear="both" />
                    </li>
                     <li>
                        <label><?php _e('Font', $config['plugin_name'])?>:</label>
                        <div>
                        	<select title="Select facebook method" class="input login_input" id="font" name="data[font]" tabindex="2">
                        		<option <?php echo $option['font'] == ''? 'selected':''?> value=""></option>
                                <option <?php echo $option['font'] == 'arial'? 'selected':''?> value="arial">arial</option>
                                <option <?php echo $option['font'] == 'lucida grande'? 'selected':''?> value="lucida grande">lucida grande</option>
                                <option <?php echo $option['font'] == 'segoe ui'? 'selected':''?> value="segoe ui">segoe ui</option>
                                <option <?php echo $option['font'] == 'tahoma'? 'selected':''?> value="tahoma">tahoma</option>
                                <option <?php echo $option['font'] == 'trebuchet ms'? 'selected':''?> value="trebuchet ms">trebuchet ms</option>
                                <option <?php echo $option['font'] == 'verdana'? 'selected':''?> value="verdana">verdana</option>
                            </select>  
						</div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Color Scheme', $config['plugin_name'])?>:</label>
                        <div>
                        	<select title="Select facebook method" class="input login_input " id="colorscheme" name="data[colorscheme]" tabindex="2">
                        		<option <?php echo $option['colorscheme'] == 'light'? 'selected':''?> value="light">light</option>
                                <option <?php echo $option['colorscheme'] == 'dark'? 'selected':''?> value="dark">dark</option>
                            </select>  
						</div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Display in page/post', $config['plugin_name'])?>:</label>
                        <div>
                        	<select title="Select facebook method" class="input login_input " id="post" name="data[post]" tabindex="2">
                        		<option <?php echo $option['post'] == '1'? 'selected':''?> value="1">Only on post</option>
                                <option <?php echo $option['post'] == '2'? 'selected':''?> value="2">Only on page</option>
                                <option <?php echo $option['post'] == '3'? 'selected':''?> value="3">Both on pages and posts</option>
                            </select>  
						</div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Show on front page', $config['plugin_name'])?>:</label>
                        <div>
                        	<input <?php echo $option['pront'] == 'true'? 'checked':''?> title="Show on pront page" value="true" class="" name="data[pront]" id="pront" type="checkbox" tabindex="7"/>
						</div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Show on archive page', $config['plugin_name'])?>:</label>
                        <div>
                        	<input <?php echo $option['archive'] == 'true'? 'checked':''?> title="Show on archive page" value="true" class="" name="data[archive]" id="archive" type="checkbox" tabindex="7"/>
						</div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Show on category page', $config['plugin_name'])?>:</label>
                        <div>
                        	<input <?php echo $option['categories'] == 'true'? 'checked':''?> title="Show on category page" value="true" class="" name="data[categories]" id="categories" type="checkbox" tabindex="7"/>
						</div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Placement', $config['plugin_name'])?>:</label>
                        <div>
                        	<select title="Select facebook method" class="input login_input " id="up" name="data[up]" tabindex="2">
                        		<option <?php echo $option['up'] == '1'? 'selected':''?> value="1">Above</option>
                                <option <?php echo $option['up'] == '2'? 'selected':''?> value="2">Below</option>
                            </select>  
						</div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Minimum user level to access statistics', $config['plugin_name'])?>:</label>
                        <div>
                        	<select title="Select facebook method" class="input login_input " id="permision" name="data[permision]" tabindex="2">
                        		<option <?php echo $option['permision'] == 'subscriber'? 'selected':''?> value="subscriber">Subscriber</option>
                                <option <?php echo $option['permision'] == 'contributor'? 'selected':''?> value="contributor">Contributor</option>
                                <option <?php echo $option['permision'] == 'author'? 'selected':''?> value="author">Author</option>
                                <option <?php echo $option['permision'] == 'editor'? 'selected':''?> value="editor">Editor</option>
                                <option <?php echo $option['permision'] == 'administrator'? 'selected':''?> value="administrator">Administrator</option>
                            </select>  
						</div>
                        <br clear="both" />
                    </li>
                    				</div>
                    <li>
                        <input type="submit" value="Submit"/>
                    </li>


                </ul>
        </form>            
    </div>
</div>